﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace TC
{
    // TODO 风格确定后，这个类不再开放，因此暂时不实现实时刷新显示的功能
    [CreateAssetMenu]
    public class StyleCollection : ScriptableObject
    {
        public GUIStyle NodeHeader;
        public GUIStyle NodeBackground;
        public GUIStyle NodeHighLight;
        public GUIStyle ValuePortNormal;
        public GUIStyle ValuePortConnected;
        public GUIStyle FlowPortNormal;
        public GUIStyle FlowPortConnected;
        public GUIStyle PortGroupGizmos;
        public GUIStyle PortGroupBG;
        public GUIStyle PortDefaultValueBG;

        #region Node菜单
        public GUIStyle MenuItemBg;
        public GUIStyle MenuItemBtn;
        public GUIStyle MenuItemName;
        #endregion

        public Color PersonalFlowPortColor = Color.black;
        public Color PersonalBoolPortColor = Color.black;
        public Color PersonalIntPortColor = Color.black;
        public Color PersonalFloatPortColor = Color.black;
        public Color PersonalDoublePortColor = Color.black;
        public Color PersonalLongPortColor = Color.black;
        public Color PersonalCharPortColor = Color.black;
        public Color PersonalStringPortColor = Color.black;
        public Color PersonalDefaultPortColor = Color.black; //暂定：泛型与引用类型以及其他

        public Color ProfessionalFlowPortColor = Color.white;
        public Color ProfessionalBoolPortColor = Color.white;
        public Color ProfessionalIntPortColor = Color.white;
        public Color ProfessionalFloatPortColor = Color.white;
        public Color ProfessionalDoublePortColor = Color.white;
        public Color ProfessionalLongPortColor = Color.white;
        public Color ProfessionalCharPortColor = Color.white;
        public Color ProfessionalStringPortColor = Color.white;
        public Color ProfessionalDefaultPortColor = Color.white; //暂定：泛型与引用类型以及其他


        public Color DefaultConnectColor = Color.yellow;
        public Color ActiveConnectColor = Color.red;

    }
}
